-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
source-mysql: fix regression involving boolean values in CDC #51519
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
0511eef
to
097e577
Compare
@rodireich will follow up on this issue as oncall. |
MySqlSourceCdcTemporalConverter::class | ||
) | ||
.with("converters", "tinyint-one,temporal") | ||
.with("tinyint-one.type", TinyIntOneToBooleanConverter::class.qualifiedName!!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to set a custom converter when it's debezium's own?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You still have to opt in to it, it's not Debezium's default behaviour.
097e577
to
103d967
Compare
@airbytehq/dbsources FYI this remains untested as of today, for lack of a suitable test candidate. See oncall ticket for details. |
Marius Posta seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
What
Prompted by https://github.com/airbytehq/oncall/issues/7242
A customer got the following message when upgrading to 3.10.0, which included a lot of converter changes.
This PR aims to fix this by replacing our own boolean handling logic with Debezium's. Unfortunately, I was not able to reproduce this error.
How
Replaces
MySqlSourceCdcBooleanConverter
withTinyIntOneToBooleanConverter
. Adds missing test cases.Review guide
none
User Impact
Hopefully this fixes the issue. This PR is required to find out.
Can this PR be safely reverted and rolled back?